Travelpayouts\modules\searchForms\components\SearchShortcodes A

Total Complexity 70
Dependencies 5
Dependents 5
Total lines 372
Lines of code 251
Logical lines of code 110
Comment lines 31
Methods 21
Properties 15

Methods 21

Method Rating Maintainability Complexity Lines of code
enrich_widget_params()
A
46 12 44
render()
S
57 6 17
parse_hotel_city_string()
S
51 4 28
render_script()
S
58 4 15
get_widget_params()
S
63 5 10
get_item_data()
S
61 4 13
get_widget_id()
S
69 4 6
get_hotel_city_data()
S
66 4 9
get_widget_url()
S
69 4 6
id_or_slug_validator()
S
59 3 14
rules()
S
50 1 39
get_widget_type()
S
71 3 6
hotel_city_validator()
S
67 3 7
is_valid_code_form()
S
78 3 3
get_marker()
S
65 2 10
get_origin_iata()
S
76 2 4
get_destination_iata()
S
76 2 4
render_raw_content()
S
82 1 3
render_shortcode()
S
73 1 5
shortcodeTags()
S
80 1 3
render_shortcode_static()
S
73 1 5